package com.lcb.order.service;

import com.lcb.common.utils.BaseResponse;
import com.lcb.order.entity.TStorage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "seata-storage-service")
public interface StroageService {

    @PostMapping("/stroage/decrease")
    BaseResponse decrease(@RequestBody TStorage storage);

}
